TOOLPREFIX:=	/arm-eabi
QTDIR	:=	$(TOOLPREFIX)/lib/qt-2.3.8
EZXDIR	:=	$(TOOLPREFIX)/lib/ezx-z6

CC	=	$(TOOLPREFIX)/bin/arm-linux-gnueabi-gcc
CXX	=	$(TOOLPREFIX)/bin/arm-linux-gnueabi-g++
LD	=	$(TOOLPREFIX)/bin/arm-linux-gnueabi-g++
CFLAGS	=	-pipe -Wall -W -O2 -DNO_DEBUG $(INCPATH)
CXXFLAGS=	-pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG $(INCPATH)
INCPATH	=	-I$(QTDIR)/include -I$(EZXDIR)/include
LDFLAGS	=	-s
LDLIBS	=	-L$(QTDIR)/lib -L$(EZXDIR)/lib -lm -lqte-mt -lezxpm -ljpeg -lezxappbase -lezxtapi-xscale-r -llog_util -llighting
MOC	=	$(QTDIR)/bin/moc

TARGETS = zflexbit \
	  #comparar \
	  #znoticedlg \
	  #zmessagedlg \
	  #znumpickerdlg \
	  #zsingleselectdlg \
	  #zmultiselectdlg \
	  #zsinglecapturedlg

#	  zchameleondlg zprogressdlg

all: $(TARGETS)
zflexbit: zflexbit.cpp
#comparar: comparar.cpp
#znoticedlg: znoticedlg.cpp
#zmessagelg: zmessageedlg.cpp
#znumpickerdlg: znumpickerdlg.cpp
#zsinglecapturedlg: zsinglecapturedlg.cpp
#zsingleselectdlg: zsingleselectdlg.cpp
#zmultiselectdlg: zmultiselectdlg.cpp

#zchameleondlg: zchameleondlg.cpp
#zprogressdlg: zprogressdlg.cpp

